import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

Vue.config.productionTip = false;
Vue.use(ElementUI);

/** 引入全局变量，方便访问 */
import httpApi from "@/http/index";
Vue.prototype.$http = httpApi;

import "normalize.css";

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount("#app");
window._AMapSecurityConfig = {
  securityJsCode: "71917e001cdb6fc67f148e86ae1d128d",
};
